import request from '@/utils/request'

// 查询校验任务列表
export function listTaskCheck(data) {
  return request({
    url: '/console/taskCheck/list',
    method: 'post',
    data: data
  })
}

// 查询校验任务详细
export function getTaskCheck(data) {
  return request({
    url: '/console/taskCheck/getInfo',
    method: 'post',
    data: data
  })
}

// 新增校验任务
export function addTaskCheck(data) {
  return request({
    url: '/console/taskCheck/add',
    method: 'post',
    data: data
  })
}

// 修改校验任务
export function updateTaskCheck(data) {
  return request({
    url: '/console/taskCheck/edit',
    method: 'post',
    data: data
  })
}

// 删除校验任务
export function delTaskCheck(data) {
  return request({
    url: '/console/taskCheck/remove',
    method: 'post',
    data: data
  })
}

export function delTaskCheckExecute(data) {
  return request({
    url: '/console/taskCheck/execute',
    method: 'post',
    data: data
  })
}

export function delTaskCheckScheduler(data) {
  return request({
    url: '/console/taskCheck/scheduler',
    method: 'post',
    data: data
  })
}